package io.starteos.wallet.utils.eos.data.remote.model.types;

import java.io.Serializable;

import io.starteos.wallet.utils.eos.data.remote.model.types.EosType.Writer;

@SuppressWarnings("serial")
public class TypeCoins implements EosType.Packer, Serializable {

	private long coins;
	
	public TypeCoins(String coins) {
		 this.coins = Long.valueOf(coins);
	}
	
	public long getCoins() {
		return coins;
	}

	public void setCoins(long coins) {
		this.coins = coins;
	}

	@Override
	public void pack(Writer writer) {
		writer.putLongLE(coins);
	}

}
